package com.lecampus.businessCampus_moments.service;

import com.lecampus.businessCampus_moments.entity.Article;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lecampus.businessCampus_moments.vo.ArticleVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2021-04-10
 */
public interface ArticleService extends IService<Article> {

    List<ArticleVO> findArticleByLabelId(String labelId, long currentPage, long size);

    List<ArticleVO> findArticleByUserId(String labelId, long currentPage, long size);

    ArticleVO findArticleById(String articleId);

    void deleteArticleById(String articleId);

    void likes(String articleId,int flag);

}
